package com.joy.educms;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author 焦恩越
 * @create 2021-12-06-15:20
 */
@SpringBootApplication
@ComponentScan({"com.joy"})
@MapperScan("com.joy.educms.mapper")//配置xml文件的扫描，不然扫描不到
public class CmsApplication {
    public static void main(String[] args) {
        SpringApplication.run(CmsApplication.class,args);
    }
}
